<?php $users = $this->getAllUser();?>
<div class="box round first grid">
                <h2>
                    Users</h2>
                <div class="block">
                    <table class="data display datatable" id="example">
					<thead>
						<tr>
							<th>ID</th>
							<th>Name User</th>
							<th>Email</th>
							<th>Tool</th>
						</tr>
					</thead>
					<tbody>
						<?php if ($users!=null):?>
							<?php foreach ($users as $user ):?>
								<tr id="user_<?php echo $user['user_id']?>">
									<td><?php echo $user['user_id']?></td>
									<td><?php echo $user['username']?></td>
									<td><?php echo $user['email']?></td>
									<td>
										<a class="btn-mini btn-black btn-view" href="<?php echo Epic::getUrl('admin/journal/viewJournal',array('id_journal'=>$journal['id_journal']))?>"><span></span>View</a>
										<a class="btn-mini btn-black btn-edit"><span></span>Edit</a>
										<a class="btn-mini btn-black btn-delete" onclick="return deleter_user(<?php echo $user['user_id']?>);"><span></span>Delete</a>
									</td>
								</tr>
							<?php endforeach;?>
						<?php endif;?>
					</tbody>
				</table>
                </div>
               </div>